package net.shao.model;

import android.widget.ImageView;

import java.io.Serializable;

/**
 * Created by shao on 2016/8/19.
 */
public class ChatListModel implements Serializable{

    public static final int CHAT_LIST_TYPE_GROUP = 1;//群组

    public static final int CHAT_LIST_TYPE_FRIEND = 1;//朋友

    private int chatId;//聊天itemId

    private int imgId;

    private String chatTitle;

    private String chatText;

    private String chatTime;

    private int chatType;//聊天类型

    public int getImgId() {
        return imgId;
    }

    public void setImgId(int imgId) {
        this.imgId = imgId;
    }

    public String getChatText() {
        return chatText;
    }

    public void setChatText(String chatText) {
        this.chatText = chatText;
    }

    public String getChatTitle() {
        return chatTitle;
    }

    public void setChatTitle(String chatTitle) {
        this.chatTitle = chatTitle;
    }

    public void setChatType(int chatType) {
        this.chatType = chatType;
    }

    public int getChatType() {
        return chatType;
    }

    public int getChatId() {
        return chatId;
    }

    public void setChatId(int chatId) {
        this.chatId = chatId;
    }

    public String getChatTime() {
        return chatTime;
    }

    public void setChatTime(String chatTime) {
        this.chatTime = chatTime;
    }


    @Override
    public String toString() {
        return "ChatListModel{" +
                "chatId=" + chatId +
                ", imgId=" + imgId +
                ", chatTitle='" + chatTitle + '\'' +
                ", chatText='" + chatText + '\'' +
                ", chatTime='" + chatTime + '\'' +
                ", chatType=" + chatType +
                '}';
    }
}
